import {
  createRouter,
  createWebHashHistory,
} from "vue-router";
// import { createRouter,createWebHashHistory } from '@/lib/router'
import Home from "../pages/Home.vue";
import About from "../pages/AboutPage.vue";
import Login from "../pages/LoginPage.vue";

const routes = [
  {
    path: "/",
    name: "Home",
    component: Home,
  },
  {
    path: "/login",
    name: "Login",
    component: Login,
  },
  {
    path: "/about",
    name: "About",
    component: About,
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
